<?php

$create_sql = <<<EOS
CREATE TABLE `users` (
    `id` bigint(20) unsigned NOT NULL auto_increment,
    `first_name` varchar(32) DEFAULT NULL,
    `last_name` varchar(32) DEFAULT NULL,
    PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
EOS;

// do migration
function migrate() {
    Pfw_Db_Migrate::forward(array(
        $create_sql
    ));
    return true;
};
$migrate = 'migrate';

// undo migration
function undo() {
    Pfw_Db_Migrate::back(array(
        "DROP TABLE users"
    ));
    return true;
};
$undo = 'undo';

?>